# -*- coding:utf-8 -*-
"""
@Created on : 2025/02/04 08:06 AM
@Author: xiaomi
@Des: 公共api路由
"""
from fastapi import APIRouter

from app.common import websocket
from app.common.oauth2 import authorize

common_router = APIRouter(prefix="")
common_router.post("/oauth2/authorize", tags=["获取oauth2授权"], include_in_schema=False)(authorize)
common_router.include_router(websocket.router, prefix='/ws', tags=["WebSocket"])